package com.example.drawproject.Utils;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Matrix;

public class MoveUtils {

    private float screanX;
    private float screanY;
    private float[] coordinate ={0,0};

    public MoveUtils(Context context){
        screanX = ScreanUtils.getScreenWidth(context);
        screanY = ScreanUtils.getScreenHeight(context);
    }

    public float[] getEndCoordinate(){
        coordinate[0] = (float)(1+Math.random()*(screanX-0+1));
        coordinate[1] = (float)(1+Math.random()*(screanY-0+1));
        return coordinate;
    }

}

